# coding=utf-8
from base.base import *
from base.base import BasePage
from pagelocators.software_library_locs import SoftwareLibraryLocator as SL
class DataCenterBusiness(BasePage):
    def my_api_new(self):
        self.click_element(SL.softwarelibrary_loc, doc="点击my_api模块")
        self.click_element(SL.software_class_loc, doc="点击申请新数据")
        # self.click_element(SL.data_storage_loc, text="水质量", doc="输入水质量")

        self.click_element(SL.data_storage_loc, doc="点击搜索按钮")

    # def my_api_new1(self):
    #     self.click_element(SL.top_page_loc, doc="点击首页")
    #     self.click_element(SL.softwarelibrary_loc, doc="点击my_api模块")
    #     self.click_element(SL.software_class_loc, doc="点击申请新数据")
    #     # self.click_element(SL.data_storage_loc, text="水质量", doc="输入水质量")
    #     self.click_element(SL.data_storage_loc, doc="点击搜索按钮")
